//
//  KLToastView.h
//  KLToast
//
//  Created by zhusanbao on 2018/11/15.
//  Copyright © 2018 zhusanbao. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, KLToastType) {
    KLToastTypeSuccess = 0,
    KLToastTypeError,
    KLToastTypeWords,
    KLToastTypeImage,
};

@interface KLToastView : UIView

+ (instancetype _Nullable)toastWithMessage:(NSString * _Nullable)message
                            type:(KLToastType)type
                         originY:(CGFloat)originY
                        tipImage:(UIImage * _Nullable)image;

@end
